"""
interation也是一种循环，在python中除了数组，字典，元祖，字符串都可以迭代
"""

for ch in 'hello':
    print(ch)

for k,v in {1:'a',2:'b'}.items():
    print(k,v)

for key in {1:'a',2:'b'}:
    print(key)

for value in {1:'a',2:'b'}.values():
    print(value)

for x,y in [(1,2),(3,4)]:
    print(x,y)

for j in (1,3,5,7,9):
    print(j)